package com.loong.common.wechat.constant;

public interface API {
    interface AUTH{
        String ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token";
        //h5获取用户信息
        //String USER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";

        String USER_INFO = "https://api.weixin.qq.com/sns/userinfo";
        //小程序获取session
        String JSCODE2SESSION= "https://api.weixin.qq.com/sns/jscode2session";
        //h5刷新token
        String REFRESH_TOKEN="https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=APPID&grant_type=refresh_token&refresh_token=REFRESH_TOKEN";
        //小程序获取unionId
        //GET https://api.weixin.qq.com/wxa/getpaidunionid?access_token=ACCESS_TOKEN&openid=OPENID
    }
}
